<?php
/**
 *
 */
namespace Yz\modules\Tasklist;

use Yz_Tree_Default;

class Model_Task
    extends \Yz_Model_ActiveRecord
{


    /** Model's fields definition
     */
    protected function init()
    {
        debug();
        parent::init();
        $d =& $this->__dict__;
        $d['id']         = new \Yz_Model_Field_Id();
        $d['title']      = new \Yz_Model_Field_String();
        $d['href']       = new \Yz_Model_Field_String();
        $d['parent']     = new \Yz_Model_Field_SelfReference($this);
        return $this;
    }

}
